import React, { Component } from "react";

class middle extends Component {
  constructor(props) {
    super(props);
    this.state = {};
  }

  render() {
    console.log(this.props, "this.props.location.query======== ");
    let str = this.props.location.query; // 路由匹配 // 声明模式 类似小程序
    return <div>我是middle-------{str||'没有数据'}</div>;
  }
}

export default middle;
